package com.ruoyi.project.WebMoudle.wxOrder.domain;

import com.ruoyi.project.WebMoudle.accountDetails.domain.AccountDetails;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 微信订单对象 wx_order
 * 
 * @author ruoyi
 * @date 2020-07-09
 */
public class WxOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNum;

    /** 用户id */

    private Long wxUserId;

    /** 用户openid */

    private String openId;
    private String shopName;
    private String nickName;
    @Excel(name = "会员号")
    private String phoneNum;
    @Excel(name = "消费单位")
    private String shopCompany;
    private String imgPath;

    /** 商铺id */
    private Long shopId;

    /** 本身价格 */
    @Excel(name = "本身价格")
    private BigDecimal beforePrice;

    /** 实际支付金额 */
    @Excel(name = "实付金额")
    private BigDecimal realityPrice;

    /** 使用积分 */

    private Integer useJifen;


    /** 优惠券id */
    private Long couponId;
    @Excel(name = "优惠券抵扣")
    private BigDecimal reduceMoney;
    @Excel(name = "积分抵扣")
    private BigDecimal convertMoney;
    /** 商家折扣比 */
    @Excel(name = "当前让利比")
    private BigDecimal shopDiscount;

    private Integer returnJifen;
    /** 状态 */

    private String status;

    private AccountDetails accountDetails;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setWxUserId(Long wxUserId) 
    {
        this.wxUserId = wxUserId;
    }

    public Long getWxUserId() 
    {
        return wxUserId;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setBeforePrice(BigDecimal beforePrice)
    {
        this.beforePrice = beforePrice;
    }

    public BigDecimal getBeforePrice()
    {
        return beforePrice;
    }
    public void setRealityPrice(BigDecimal realityPrice)
    {
        this.realityPrice = realityPrice;
    }

    public BigDecimal getRealityPrice()
    {
        return realityPrice;
    }
    public void setUseJifen(Integer useJifen)
    {
        this.useJifen = useJifen;
    }

    public Integer getUseJifen()
    {
        return useJifen;
    }
    public void setCouponId(Long couponId) 
    {
        this.couponId = couponId;
    }

    public Long getCouponId() 
    {
        return couponId;
    }
    public void setShopDiscount(BigDecimal shopDiscount)
    {
        this.shopDiscount = shopDiscount;
    }

    public BigDecimal getShopDiscount()
    {
        return shopDiscount;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public BigDecimal getReduceMoney() {
        return reduceMoney;
    }

    public void setReduceMoney(BigDecimal reduceMoney) {
        this.reduceMoney = reduceMoney;
    }

    public Integer getReturnJifen() {
        return returnJifen;
    }

    public void setReturnJifen(Integer returnJifen) {
        this.returnJifen = returnJifen;
    }

    public BigDecimal getConvertMoney() {
        return convertMoney;
    }

    public void setConvertMoney(BigDecimal convertMoney) {
        this.convertMoney = convertMoney;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getShopCompany() {
        return shopCompany;
    }

    public void setShopCompany(String shopCompany) {
        this.shopCompany = shopCompany;
    }

    public AccountDetails getAccountDetails() {
        return accountDetails;
    }

    public void setAccountDetails(AccountDetails accountDetails) {
        this.accountDetails = accountDetails;
    }


}
